load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "transport",
    srcs = [
        "bdp_estimator.go",
        "controlbuf.go",
        "defaults.go",
        "flowcontrol.go",
        "handler_server.go",
        "http2_client.go",
        "http2_server.go",
        "http_util.go",
        "log.go",
        "transport.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/internal/transport",
    importpath = "google.golang.org/grpc/internal/transport",
    visibility = ["//vendor/google.golang.org/grpc:__subpackages__"],
    deps = [
        "//vendor/github.com/golang/protobuf/proto",
        "//vendor/golang.org/x/net/http2",
        "//vendor/golang.org/x/net/http2/hpack",
        "//vendor/google.golang.org/genproto/googleapis/rpc/status",
        "//vendor/google.golang.org/grpc/codes",
        "//vendor/google.golang.org/grpc/credentials",
        "//vendor/google.golang.org/grpc/grpclog",
        "//vendor/google.golang.org/grpc/internal",
        "//vendor/google.golang.org/grpc/internal/channelz",
        "//vendor/google.golang.org/grpc/internal/grpcrand",
        "//vendor/google.golang.org/grpc/internal/syscall",
        "//vendor/google.golang.org/grpc/keepalive",
        "//vendor/google.golang.org/grpc/metadata",
        "//vendor/google.golang.org/grpc/peer",
        "//vendor/google.golang.org/grpc/stats",
        "//vendor/google.golang.org/grpc/status",
        "//vendor/google.golang.org/grpc/tap",
    ],
)
